package lab02.Test25;

/**
 * Created by lenovo on 2017/10/31.
 */import java.util.Scanner;
public class Test {
    int a, b;
    Scanner sc = null;
    public void s() {
        sc = new Scanner(System.in);
        a = sc.nextInt();
        b = sc.nextInt();
        try {
            System.out.println(a / b);
        } catch (ArithmeticException e) {
            System.out.println("Divided by zero error!");
        }
        //catch (InputMismatchException e) {
            System.out.println("Input type mismatch error!");
    }

    public static void main ( String args[] )
    {
        System.out.println();
    }
}


